<!--{assign var="menu_id" value="dynamic"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<div class="oe_dynamic_top">
  <h3>会员动态，了解TA的最好方式<i></i> </h3>
  <div class="oe_dynamic_text">
    <p>在您发布动态，与朋友互动的时候</p>
    <p>也请时刻记得遵守国家法律法规</p>
  </div>
  <div class="oe_dynamic_btn"> <span f="but_open_adddynamic"><i></i>发布动态</span> </div>
  <div class="clear"></div>
</div>
<div class="oe_main">
  <div class="oe_dynamic">
    <div class="left">
      <form id="dynamic_form" action="<!--{routeurl module='dynamic' action='list'}-->" method="post">
        <div class="oe_dynamic_title">
          <input type="hidden" name="s_type" id="s_type" value="<!--{$s_type}-->" />
          <div class="dynamic_rank">
            <ul>
              <li f="but_ser_type" data-id="0"<!--{if $s_type == '0'}--> class="current"<!--{/if}-->><a href="javascript:;">会员动态</a>
              </li>
              <li f="but_ser_type" data-id="1"<!--{if $s_type == '1'}--> class="current"<!--{/if}-->><a href="javascript:;">我的动态</a>
              </li>
            </ul>
          </div>
          <div class="chose">
            <dl>
              <dt f="but_selser"> <em> 
                <!--{if $s_gender > 0}--> 
                <!--{hook mod="var" item="gender" type="text" value=$s_gender}--> 
                <!--{else}--> 
                选择性别 
                <!--{/if}--> 
                </em> <i></i> </dt>
              <dd style="width:100px;">
                <select name="s_gender" id="s_gender" f="but_sel_one" data-tips="选择性别">
                  <option value="">=不限=</option>
                  <option value="2"<!--{if $s_gender == '2'}--> selected<!--{/if}-->>女会员
                  
                  </option>
                  <option value="1"<!--{if $s_gender == '1'}--> selected<!--{/if}-->>男会员
                  
                  </option>
                </select>
              </dd>
            </dl>
            <dl class="">
              <dt f="but_selser"> <em> 
                <!--{if $s_age1 > 0 && $s_age2 > 0}--> 
                <!--{$s_age1}-->-<!--{$s_age2}-->岁 
                <!--{else}--> 
                选择年龄 
                <!--{/if}--> 
                </em> <i></i> </dt>
              <dd style="width:200px;">
                <h3>请选择年龄范围</h3>
                <!--{hook mod="age" type="select" name="s_age1" text="请选择" value=$s_age1}--> 
                - 
                <!--{hook mod="age" type="select" name="s_age2" text="请选择" value=$s_age2}--> 岁
                <div class="btn" f="but_selrange_confirm" data-1="s_age1" data-2="s_age2" data-unit="岁" data-tips="选择年龄"> <b>确定</b> </div>
              </dd>
            </dl>
            <dl class="">
              <dt f="but_selser"> <em> 
                <!--{if $s_dist1 > 0}--> 
                <!--{area type="text" value=$s_dist1}--> <!--{area type="text" value=$s_dist2}--> 
                <!--{else}--> 
                选择地区 
                <!--{/if}--> 
                </em> <i></i> </dt>
              <dd style="width:200px;">
                <h3>请选择地区</h3>
                <!--{area type='select' name='s_dist' depth='1' child='1' text='=选择=' value=$s_dist1}--> 
                - <b id="json_s_dist2" style="font-weight:normal;"> 
                <!--{if $s_dist1 > 0}--> 
                <!--{area type='select' name='s_dist' depth='2' child='1' text='=选择=' parentid=$s_dist1 value=$s_dist2}--> 
                <!--{else}-->
                <select name="s_dist2" id="s_dist2">
                  <option value="">=选择=</option>
                </select>
                <!--{/if}--> 
                </b>
                <div class="btn" f="but_selrange_confirm" data-1="s_dist1" data-2="s_dist2" data-unit="" data-tips="选择地区"> <b>确定</b> </div>
              </dd>
            </dl>
            <span class="search_btn cursor" f="but_confirm_dynamicser">搜索</span>
            <div class="clear"></div>
          </div>
        </div>
      </form>
      <div class="oe_dynamic_content"> 
        
        <!--{if empty($dynamic)}-->
        <div class="no_data">
          <p class="p_1"><span></span></p>
          <p class="p_2">没有符合条件的信息！</p>
        </div>
        <!--{else}--> 
        <!--{foreach $dynamic as $volist}-->
        <dl>
          <dt> <span><a href="<!--{$volist.homeurl}-->"><img src="<!--{$volist.headimg}-->" /></a></span>
            <h3><a href="<!--{$volist.homeurl}-->"><!--{$volist.username}--></a></h3>
            <p>
              <label><!--{$volist.trantime}--></label>
              <!--{$volist.age}-->岁 <!--{hook mod="var" item="marry" type="text" value=$volist.marry}--> <!--{area type="text" value=$volist.dist1}--> <!--{area type="text" value=$volist.dist2}--> </p>
            <div class="clear"></div>
            <!--{if $login.userid == $volist.userid}-->
            <div class="more">
              <label class="jiao" f="but_dynamic_showhand"><i></i></label>
              <div class="morecon" style="display:none;">
                <ul>
                  <li><a href="javascript:;" f="but_dynamic_del" data-id="<!--{$volist.dyid}-->" data-from="list">删除</a></li>
                </ul>
              </div>
            </div>
            <!--{/if}--> 
          </dt>
          <dd>
            <div class="text"> 
              <!--{if $volist.dytype == 'weibo'}--> 
              更新了一条心情： 
              <!--{/if}--> 
              <!--{$volist.content}--> <a href="<!--{$volist.url}-->" class="more">全文</a> </div>
            <!--{if !empty($volist.gallery)}-->
            <div class="photo">
              <ul class="three">
                <!--{foreach $volist.gallery as $val}-->
                <li f="but_open_dynamic_zoom" data-id="<!--{$volist.dyid}-->" data-orderi="<!--{$val.i}-->">
                  <p><span><img src="<!--{$val.thumbimg}-->" /></span></p>
                </li>
                <!--{/foreach}-->
              </ul>
              <div class="clear"></div>
            </div>
            <!--{else}--> 
            <!--{if !empty($volist.thumbimg)}-->
            <div class="photo">
              <ul class="one">
                <li f="but_open_dynamic_zoom" data-id="<!--{$volist.dyid}-->" data-orderi="1"><img src="<!--{$volist.thumbimg}-->" /><img class="line" src="<!--{$skinpath}-->images/line.png" alt="" /></li>
              </ul>
              <div class="clear"></div>
            </div>
            <!--{/if}--> 
            <!--{/if}--> 
          </dd>
          
          <!--{if $volist.userid != $login.info.userid}-->
          <dd class="tool">
            <ul>
              <li class="li_1"> <span class="span_1 cursor" f="pop_send_msg" data-touid="<!--{$volist.userid}-->"><i></i>发私信</span>
                <label></label>
              </li>
              <li class="li_2"> <span class="span_2 cursor" f="pop_send_gift" data-touid="<!--{$volist.userid}-->"><i></i>送礼物</span>
                <label></label>
              </li>
              <li class="li_3"> <span class="span_3" onclick="window.location.href='<!--{$volist.url}-->'"><i></i> <!--{$volist.comms}--></span> </li>
              <li class="li_4" style="display:none;"> <span class="span_4 current"><i></i> <!--{$volist.zans}--></span> </li>
            </ul>
            <div class="clear"></div>
          </dd>
          <!--{/if}-->
        </dl>
        <!--{/foreach}--> 
        <!--{/if}--> 
      </div>
      
      <!--{if $total > 0 && !empty($showpage)}-->
      <div class="oe_page" style="margin-top:10px;"><!--{$showpage}--></div>
      <!--{/if}--> 
      
    </div>
    <!--//left End--> 
    
    <!--{include file="<!--{$oetplpath}-->block_right.tpl"}--> 
    <!--//right End-->
    <div class="clear"></div>
  </div>
</div>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}--> 
<script src="<!--{$skinpath}-->js/dynamic.js"></script>
<div class="oe_shade" style="display:none;" id="dynamic_zoom_box">
  <div class="view_photo" id="dynamic_zoom_data"> </div>
</div>
<!--//放大相册 -->
</body></html>